### >>> inspired by
# todo: add docs
class Array
  unless instance_methods.include?(:extract_options!)
    def extract_options!
      last.is_a?(Hash) ? pop : {}
    end
  end
end # end Array
